twisted.python.util.runWithWarningsSuppressed has been added; it runs a function with specified warning filters.